package main
import(
	"fmt"
	"time"
)

const NUM int = 17

func main() {
	start := time.Now()
	N := 1
	k := 1
	i := 0
	//for {
	for i = 2; i <= NUM; i++ {
		fmt.Println("N = ", N)
		if N % i == 0 {
			k++
			//fmt.Println("-k = ", k)
			continue
		} else {
			N++
			k = 1
			i = 2
			//break
		}

	}
	//if i == NUM {
	//	break
	//}
	//N++
	//}
	fmt.Println("Smallest number: ", N)
	stop := time.Now()
	fmt.Println("Execution time: ", stop.Sub(start))
}
